package cn.wizzer.app.onlyoffice.modules.services.impl.callback;

import cn.wizzer.app.onlyoffice.modules.models.documentServer.Status;
import cn.wizzer.app.onlyoffice.modules.services.Callback;
import org.nutz.ioc.loader.annotation.IocBean;

@IocBean
public class CloseNoChangesCallback implements Callback {
    @Override
    public int handle(cn.wizzer.app.onlyoffice.modules.dto.Callback body, String fileId) {
        return 0;
    }

    @Override
    public int getStatus() {
        return Status.CLOSE_NO_CHANGES.getCode();
    }
}
